def place(H,L):
    T = H
    i = 0
    while True:
        if L>=T:

            T = T+H/pow(2,i)
            i = i + 1
            if i >1000:
                return "no"
        else:
            return i

if __name__ == '__main__':
    H = int(input())
    L = int(input())
    print(place(H,L))

